<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>登陆</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="description" content="JeeSite ${site.description}" />
<meta name="keywords" content="JeeSite ${site.keywords}" />
<link rel="stylesheet" href="${ctxStatic}/sdsng/lib/weui.min.css">
<link rel="stylesheet" href="${ctxStatic}/sdsng/css/jquery-weui.css">
<link rel="stylesheet" href="${ctxStatic}/sdsng/css/style.css">
</head>
<body ontouchstart style="background:#259efa;">
<!--主体-->
<div class="login-box">
  	<div class="lg-title">欢迎登陆少年宫</div>
    <div class="login-form">
    	<form id="loginForm" action="${pageContext.request.contextPath}${fns:getAdminPath()}/login" method="post">
    		
    		<div class="header">
				<div id="messageBox" class="alert alert-error ${empty message ? 'hide' : ''}"><!-- <button data-dismiss="alert" class="close">×</button> -->
					<label id="loginError"><font color="red">${message}</font></label>
				</div>
			</div>
    		
    		<!-- 微信登陆类型 -->
    		<input type="hidden" name="userType" value="weixin">
    		<input type="hidden" name="siteId" value="${site.id }">
    		<!-- <input type="hidden" name="mobileLogin" value="true"> -->
    		
        	<div class="login-user-name common-div">
            	<span class="eamil-icon common-icon">
                	<img src="${ctxStatic}/sdsng/images/eamil.png"/>
                </span>
                <input type="text" name="username" value="" placeholder="请输入您的用户名/手机号" />        
            </div>
            <div class="login-user-pasw common-div">
            	<span class="pasw-icon common-icon">
                	<img src="${ctxStatic}/sdsng/images/password.png"/>
                </span>
                <input type="password" name="password" value="" placeholder="请输入您的密码" />
            </div>
            <a href="#" onclick="doLogin();" class="login-btn common-div">登陆</a>
            <!-- <a href="javascript:;" class="login-oth-btn common-div">微信授权登录</a>  -->
        </form>
    </div>
    <div class="forgets">
    	<a href="#"  >忘记密码？</a>
        <a href="${ctx}/toRegist?siteId=${site.id}">免费注册</a>
    </div>
</div>
<script src="${ctxStatic}/sdsng/lib/jquery-2.1.4.js"></script> 
<script src="${ctxStatic}/sdsng/lib/fastclick.js"></script> 
<script type="text/javascript" src="${ctxStatic}/sdsng/js/jquery.Spinner.js"></script>
<script>
  $(function() {
    FastClick.attach(document.body);
  });
  
  
  function doLogin()
  {
	  document.forms[0].submit();
  }
</script>

<script src="${ctxStatic}/sdsng/js/jquery-weui.js"></script>

</body>
</html>